<?php if (isset($error)) { ?>
<div class="warning"><?php echo $error; ?></div>
<?php } ?>
<?php if (isset($success)) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>

<table class="list">
  <thead>
  <tr>
  	<td class="left" width="150"><?php echo $_['column_user']; ?></td>
  	<td class="left"><?php echo $_['column_content'];?></td>
  </tr>
  </thead>
  <tbody>
    <?php if ($services) { ?>
    <?php foreach ($services as $service) { ?>
    <tr>
      <td class="left">
      <?php echo $service['user']; ?><br/>
      <small><?php echo v5_date_format($service['date_added'], 'm/d/Y H:i'); ?></small>
      </td>
      <td class="left"><?php echo $service['text']; ?></td>
    </tr>
    <?php } ?>
    <?php } else { ?>
    <tr>
      <td class="center" colspan="4"><?php echo $_['text_no_results']; ?></td>
    </tr>
    <?php } ?>
  </tbody>
</table>
<div class="pagination"><?php echo $pagination; ?></div>
